import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;


public class Main {
	public static void main(String[] args){
		
		BufferedReader stdin = new BufferedReader (new InputStreamReader(System.in));
		try {
			do{
			
				
				try {
					String input = stdin.readLine();
					String[] array = input.split(" ");
					int a = Integer.valueOf(array[0]);
					int b = Integer.valueOf(array[1]);
					int c = a+b;
					System.out.println(""+c);
				} catch (IOException e) {
					// TODO Auto-generated catch block
					e.printStackTrace();
				}
			}while(stdin.ready());
		} catch (IOException e) {
			// TODO Auto-generated catch block
			e.printStackTrace();
		}
		
	}
}
